import http from "@/api/http";

//获取总的访问数量
export const getVisitCount = (url: any) => {
  return http.get(`/visit/count?uri=${encodeURIComponent(url)}`);
};

export const getCountToday = () => {
  return http.get(`/visit/data`);
};
